/*
 * Copyright (C) 2014 Realtek Semiconductor Corp.
 * All Rights Reserved.
 *
 * This program is the proprietary software of Realtek Semiconductor
 * Corporation and/or its licensors, and only be used, duplicated,
 * modified or distributed under the authorized license from Realtek.
 *
 * ANY USE OF THE SOFTWARE OTHER THAN AS AUTHORIZED UNDER
 * THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
 *
 * Purpose : Definition of ME attribute: ZTE_SNTP (65294)
 *
 * Feature : The file includes the following modules and sub-modules
 *           (1) ME attribute: ZTE_SNTP (65294)
 */

#ifndef __MIB_ZTESNTP_TABLE_H__
#define __MIB_ZTESNTP_TABLE_H__

#ifdef __cplusplus
extern "C" {
#endif


/* Table zteSntp attribute index */
#define MIB_TABLE_ZTESNTP_ATTR_NUM (7)
#define MIB_TABLE_ZTESNTP_ENTITYID_INDEX ((MIB_ATTR_INDEX)1)
#define MIB_TABLE_ZTESNTP_TIMEZONE_INDEX ((MIB_ATTR_INDEX)2)
#define MIB_TABLE_ZTESNTP_MASTERSERVER_INDEX ((MIB_ATTR_INDEX)3)
#define MIB_TABLE_ZTESNTP_SLAVESERVER_INDEX ((MIB_ATTR_INDEX)4)
#define MIB_TABLE_ZTESNTP_INTERVAL_INDEX ((MIB_ATTR_INDEX)5)
#define MIB_TABLE_ZTESNTP_ATTR6_INDEX ((MIB_ATTR_INDEX)6)
#define MIB_TABLE_ZTESNTP_ATTR7_INDEX ((MIB_ATTR_INDEX)7)


// Table zte sntp entry stucture
typedef struct {
    UINT16 EntityID; // index 1
    UINT16 TimeZone;
    UINT32 MasterServer;
    UINT32 SlaveServer;
    UINT32 Interval;
    UINT8 UnknownAttr6;
    UINT8 UnknownAttr7;
} __attribute__((packed)) MIB_TABLE_ZTESNTP_T;


#ifdef __cplusplus
}
#endif

#endif
